import request from '@/utils/request'

export function init() {
	return request({
		url: process.env.VUE_APP_ADMIN_API + '/index/init',
		method: 'get'
	})
}

export function getBlogContributeCount() {
	return request({
		url: process.env.VUE_APP_ADMIN_API + '/index/getBlogContributeCount',
		method: 'get'
	})
}

export function getVisitByWeek() {
	return request({
		url: process.env.VUE_APP_ADMIN_API + '/index/getVisitByWeek',
		method: 'get'
	})
  }